﻿<%@ Page Language="C#" MasterPageFile="~/admin/AdminTemplate.master" AutoEventWireup="true" CodeFile="ManageCategory.aspx.cs" Inherits="admin_ViewDetailContent" Title="ADmin" UICulture="vi" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

 

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v7.2, Version=7.2.2.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v7.2, Version=7.2.2.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
    &nbsp;<asp:Panel ID="Panel2" runat="server" ForeColor="White" GroupingText="Bảng thống kê"
        Height="100%" Width="95%">
        <dxwgv:ASPxGridView ID="ASPxGridView1" runat="server" AutoGenerateColumns="False"
            KeyFieldName="CatID" Width="95%" OnCustomUnboundColumnData="ASPxGridView1_CustomUnboundColumnData1">
            <Columns>
                <dxwgv:GridViewDataTextColumn Caption="#" FieldName="CatID" VisibleIndex="0">
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="T&#234;n" FieldName="CatName" VisibleIndex="1">
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="Số lượng" FieldName="TotalExpert" VisibleIndex="2">
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="Thư mục cha" FieldName="pa" UnboundType="String"
                    VisibleIndex="3">
                    <Settings AllowGroup="True" AutoFilterCondition="Contains" FilterMode="DisplayText" />
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataHyperLinkColumn Caption="#" FieldName="CatID" VisibleIndex="4">
                    <PropertiesHyperLinkEdit NavigateUrlFormatString="ManageCategory.aspx?catid={0}"
                        Text="Xem Chi tiết" TextFormatString="Xem Chi tiết">
                    </PropertiesHyperLinkEdit>
                    <Settings AllowAutoFilter="False" />
                </dxwgv:GridViewDataHyperLinkColumn>
                <dxwgv:GridViewCommandColumn VisibleIndex="5">
                    <ClearFilterButton Visible="True">
                    </ClearFilterButton>
                </dxwgv:GridViewCommandColumn>
            </Columns>
            <Settings ShowFilterRow="True" />
            <SettingsPager PageSize="5">
            </SettingsPager>
        </dxwgv:ASPxGridView>
        &nbsp;&nbsp;
    </asp:Panel>
    <br />
    <br />
    <asp:Panel ID="Panel1" runat="server" ForeColor="White" GroupingText="Bảng chi tiết"
        Height="95%" Width="95%">
        <table width="100%">
            <tr>
                <td style="width: 146px; text-align: left; height: 21px;">
                    Mã số :</td>
                <td style="text-align: left; height: 21px;">
                    <asp:Label ID="Label1" runat="server" Text="Label" Width="83px"></asp:Label>
                    <asp:HiddenField ID="HiddenField1" runat="server" />
                </td>
                
            </tr>
            <tr>
                <td style="width: 146px; text-align: left">
                    Tên
                </td>
                <td style="text-align: left">
                    <asp:TextBox ID="TextBox1" runat="server" MaxLength="50" Width="203px"></asp:TextBox><span
                        style="color: red">*</span></td>
              
            </tr>
            <tr>
                <td style="width: 146px; text-align: left">
                </td>
                <td style="text-align: left">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                        ErrorMessage="* Bạn phải nhập"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 146px; text-align: left">
                    Số lượng Tư vấn viên :</td>
                <td style="text-align: left">
                    <asp:Label ID="Label2" runat="server" Text="Label" Width="113px"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 146px; text-align: left">
                    Thư mục cha :</td>
                <td style="text-align: left">
                    <asp:DropDownList ID="DropDownList1" runat="server" Width="174px">
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 146px; text-align: left">
                    </td>
                <td style="text-align: left">
                    <asp:Label ID="Label3" runat="server" Width="107px"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 146px; text-align: left; height: 15px;">
                </td>
                <td style="text-align: left; height: 15px;">
                    &nbsp;<asp:Button ID="btEdit" runat="server" Text="Sửa" Width="109px" OnClick="btEdit_Click" />
                    <asp:Button ID="btDelete" runat="server" Text="Xóa" Width="103px" OnClick="btDelete_Click" /></td>
            </tr>
            <tr>
                <td style="width: 146px; text-align: left;">
                    </td>
                <td>
                </td>
                
            </tr>
            <tr>
                <td style="width: 146px; text-align: left">
                    &nbsp;</td>
                <td style="text-align: left">
                    </td>
            </tr>
            <tr>
                <td style="width: 146px; text-align: left">
                    &nbsp;</td>
                <td style="text-align: left">
                    </td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>

